#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <qqtdatacache.h>
#include <qqtfindservermanager.h>

#include <QTimer>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow ( QWidget* parent = 0 );
    ~MainWindow();

private slots:
    void on_pushButton_clicked ( bool checked );

    void on_pushButton_2_clicked ( bool checked );

    void slotTimeout();

    void slotFindServer ( QString, int );
private:
    Ui::MainWindow* ui;

    QQtDataCacheManager* dm0[10];

    QTimer* m_timer;

    QQtFindServerManager m0;
};

#endif // MAINWINDOW_H
